package com.hydl.power.pojo;

import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

public class Inspectionplan implements Serializable {
    private Integer tid;
    @ApiModelProperty("任务名称")
    private String taskname;
    @ApiModelProperty("任务类型1巡查 2检修 3试验")
    private String tasktype;
    @ApiModelProperty("任务内容")
    private String taskcontent;
    @ApiModelProperty("制定执行时间")
    private String tasktime;
    @ApiModelProperty("开始执行时间")
    private Date startdealtime;
    @ApiModelProperty("执行状态0 正常 1 失效")
    private String taskstatus;
    @ApiModelProperty("任务用时")
    private String executorname;
    @ApiModelProperty("维护人员")
    private String maintainer;
    @ApiModelProperty("维护人员id")
    private String maintainerid;
    @ApiModelProperty("创建时间")
    private String creattime;
    @ApiModelProperty("配电房")
    private String roomname;
    @ApiModelProperty("配电房id")
    private String roomid;

    private String ledger;

    private static final long serialVersionUID = 1L;
    @ApiModelProperty("结束执行时间")
    private Date enddealtime;
    private String projectId;
    private String projectName;
    @ApiModelProperty("0单次，1每月")
    private String runmode;

    private String cityId;
    private String cityName;

    public String getCityId() {
        return cityId;
    }

    public void setCityId(String cityId) {
        this.cityId = cityId;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public String getProjectId() {
        return projectId;
    }

    public void setProjectId(String projevtId) {
        this.projectId = projevtId;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public Integer getTid() {
        return tid;
    }

    public void setTid(Integer tid) {
        this.tid = tid;
    }

    public String getTaskname() {
        return taskname;
    }

    public void setTaskname(String taskname) {
        this.taskname = taskname == null ? null : taskname.trim();
    }

    public String getTasktype() {
        return tasktype;
    }

    public void setTasktype(String tasktype) {
        this.tasktype = tasktype == null ? null : tasktype.trim();
    }

    public String getTaskcontent() {
        return taskcontent;
    }

    public void setTaskcontent(String taskcontent) {
        this.taskcontent = taskcontent == null ? null : taskcontent.trim();
    }

    public String getTasktime() {
        return tasktime;
    }

    public void setTasktime(String tasktime) {
        this.tasktime = tasktime;
    }

    public Date getStartdealtime() {
        return startdealtime;
    }

    public void setStartdealtime(Date startdealtime) {
        this.startdealtime = startdealtime;
    }

    public String getTaskstatus() {
        return taskstatus;
    }

    public void setTaskstatus(String taskstatus) {
        this.taskstatus = taskstatus == null ? null : taskstatus.trim();
    }

    public String getExecutorname() {
        return executorname;
    }

    public void setExecutorname(String executorname) {
        this.executorname = executorname == null ? null : executorname.trim();
    }

    public String getMaintainer() {
        return maintainer;
    }

    public void setMaintainer(String maintainer) {
        this.maintainer = maintainer == null ? null : maintainer.trim();
    }

    public String getMaintainerid() {
        return maintainerid;
    }

    public void setMaintainerid(String maintainerid) {
        this.maintainerid = maintainerid;
    }

    public String getCreattime() {
        return creattime;
    }

    public void setCreattime(String creattime) {
        this.creattime = creattime;
    }

    public String getRoomname() {
        return roomname;
    }

    public void setRoomname(String roomname) {
        this.roomname = roomname == null ? null : roomname.trim();
    }

    public String getRoomid() {
        return roomid;
    }

    public void setRoomid(String roomid) {
        this.roomid = roomid;
    }

    public String getLedger() {
        return ledger;
    }

    public void setLedger(String ledger) {
        this.ledger = ledger == null ? null : ledger.trim();
    }

    public Date getEnddealtime() {
        return enddealtime;
    }

    public void setEnddealtime(Date enddealtime) {
        this.enddealtime = enddealtime;
    }

    public String getRunmode() {
        return runmode;
    }

    public void setRunmode(String runmode) {
        this.runmode = runmode;
    }

  @Override
  public String toString() {
    return "Inspectionplan{" +
      "tid=" + tid +
      ", taskname='" + taskname + '\'' +
      ", tasktype='" + tasktype + '\'' +
      ", taskcontent='" + taskcontent + '\'' +
      ", tasktime='" + tasktime + '\'' +
      ", startdealtime=" + startdealtime +
      ", taskstatus='" + taskstatus + '\'' +
      ", executorname='" + executorname + '\'' +
      ", maintainer='" + maintainer + '\'' +
      ", maintainerid='" + maintainerid + '\'' +
      ", creattime='" + creattime + '\'' +
      ", roomname='" + roomname + '\'' +
      ", roomid='" + roomid + '\'' +
      ", ledger='" + ledger + '\'' +
      ", enddealtime=" + enddealtime +
      ", projectId='" + projectId + '\'' +
      ", projectName='" + projectName + '\'' +
      ", runmode='" + runmode + '\'' +
      ", cityId='" + cityId + '\'' +
      ", cityName='" + cityName + '\'' +
      '}';
  }
}
